<%@ page import="shop.bean.UserBean"%>
<%@ taglib prefix="tpl" tagdir="/WEB-INF/tags" %>
<%
	if (session.getAttribute("currentUser") == null) {
		response.sendRedirect("login");
	}
	else{
		
	UserBean currentUser = (UserBean) (session.getAttribute("currentUser"));
%>

<tpl:header title="User Logged Successfully" />

	<center>

		Welcome
		<%=currentUser.getName()%>
	</center>

<tpl:footer />

<%
	}
%>